<form>
    <table class="adminTable">
        <thead>
            <tr>
                <th>#</th>
                <th>Name</th>
                <th>Permission</th>
                <th>Note</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($roles as $role) { ?>
            <tr>
                <td><?php echo $role->id; ?></td>
                <td><?php echo $role->name; ?></td>
                <td><?php echo $role->permissions; ?></td>
                <td><?php echo $role->note; ?></td>
                <td>
                    <a class="btn btn-edit" href="<?php echo $this->url->get('roles/edit/' . $role->id); ?>"><i class="fa fa-pencil" data-id="<?php echo $role->id; ?>"></i></a>
                    <a class="btn btn-delete"><i class="fa fa-trash" data-id="<?php echo $role->id; ?>"></i></a>
                </td>
            </tr>
            <?php } ?>
        </tbody>
    </table>
</form>